package mh.demo.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@TableName("user")
public class User implements Serializable {

    @Serial
    private static final long serialVersionUID = -7171998716407561134L;

    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private Integer age;
    private String email;

}
